package com.example.gkw.dagger2test.demo3;

import com.example.gkw.dagger2test.demo3.anno.QualifierA;
import com.example.gkw.dagger2test.demo3.anno.QualifierB;

import dagger.Module;
import dagger.Provides;

/**
 * Describe:
 * Author:hcs
 * Email:aaron1539@163.com
 * Date:2018/12/24 14:33
 **/
@Module
public class MMarkCarModule {
    public MMarkCarModule() {
    }

    @QualifierA
    @Provides
    MEngine provideEngineA() {
        return new MEngine("A");
    }

    @QualifierB
    @Provides
    MEngine provideEngineB() {
        return new MEngine("B");
    }
}
